import { Model } from 'miragejs';

const models = {
	system: Model
};

function hanldeResult(result = { code: '200', msg: '获取数据失败', data: {} }) {
	return result.body;
}

export { models, hanldeResult };
